/*
** opt_int.c for my_printf in /home/nadali_t//local/svn/tek2ed/my_printf
** 
** Made by thomas nadalie
** Login   <nadali_t@epitech.net>
** 
** Started on  Sun Nov 18 16:32:07 2012 thomas nadalie
** Last update Mon Nov 19 17:36:55 2012 thomas nadalie
*/

#include	<stdarg.h>
#include	"my.h"

void		opt_d(va_list ap)
{
  my_put_nbr(va_arg(ap , int));
  my_putchar('\n');
}

void		opt_i(va_list ap)
{
  my_put_nbr(va_arg(ap , int));
  my_putchar('\n');
}

void		opt_o(va_list ap)
{
  my_putstr(convert_base(va_arg(ap , char*), DECI, OCTAL));
  my_putchar('\n');
}

void		opt_u(va_list ap)
{
  my_put_nbr(va_arg(ap , int));
  my_putchar('\n');
}

void		opt_x()
{
  my_putchar('\n');
}
